package com.heroh.codegenerator.vo;

import freemarker.template.TemplateMethodModelEx;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class ProjectVO {

    @NotBlank(message = "项目名不能为空")
    private String projectName;

    @NotBlank(message = "项目包名不能为空")
    private String parentName;

    @NotBlank(message = "作者不能为空")
    private String author;

    @NotBlank(message = "项目right不能为空")
    private String right;

    @NotBlank(message = "项目copy不能为空")
    private String copy;

    private TemplateMethodModelEx typeConvert;

    private String[] baseColumns;

    private String baseController;

    private String baseEntity;

    private List<TemplateEnum> templateEnums;
}
